package com.yangxiangrice.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yangxiangrice.pojo.UserList;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserListMapper extends BaseMapper<UserList> {
    Boolean changePwd(@Param("userId") Integer userId, @Param("passwd") String passwd, @Param("salt") String salt);

    Integer getAdminNum();

    Integer getFarmerNum();
}
